package com.dxy.hms.model.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dxy.hms.model.vo.TreeVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
public class MenuExcel {

    @ExcelProperty("菜单编码")
    private String id;

    @ExcelProperty("菜单名称")
    private String name;

    @ExcelProperty("所属模块")
    private String module;

    @ExcelProperty("父级菜单编码")
    private String parentId;

    @ExcelIgnore
    private Integer type;

    @ExcelProperty("类型")
    private String typeText;

    @ExcelProperty("图标")
    private String icon;

    @ExcelProperty("路由")
    private String url;

    @ExcelProperty("排序号")
    private Integer sort;

    @ExcelProperty("授权")
    private String permission;

}
